import request from '~/utils/resquest'

// 获取应用管理列表
export const getSystemClientList = <T>(params: T) => {
  return request({
    url: '/api/gxsaas-system/client/list',
    method: 'get',
    params
  })
}

// 添加应用管理项
export const addSystemClientInfo = <T>(params: T) => {
  return request({
    url: '/api/gxsaas-system/client/add',
    method: 'post',
    data: params
  })
}

// 修改应用管理项
export const updateSystemClientInfo = <T>(params: T) => {
  return request({
    url: '/api/gxsaas-system/client/update',
    method: 'post',
    data: params
  })
}

// 删除应用管理项
export const deleteSystemClientInfo = <T>(params: T) => {
  return request({
    url: '/api/gxsaas-system/client/remove',
    method: 'post',
    params
  })
}
